//
//  CCCarCorcleTools.h
//  CarCircle
//
//  Created by chenfangkun on 2019/1/11.
//  Copyright © 2019 chenfangkun. All rights reserved.
//

#import <AFNetworking/AFNetworking.h>

NS_ASSUME_NONNULL_BEGIN

@interface CCCarCorcleTools : AFHTTPSessionManager

/// 封装有bodyPOST请求
+ (void)POSTRequestWithURL:(NSString *)url Paramerter:(NSDictionary *)paramerter CompletionHandler:(void (^)(id responseObj,NSError *error))completionHandler;
/// 封装GET请求
+ (void)GETRequestWithURL:(NSString *)url Parameter:(NSDictionary *)parameter CompletionHandler:(void (^)(id responseObj,NSError *error))completionHandler;
/// 封装上传图片
+ (void)uploadImageRequestWithURL:(NSString *)url image:(NSArray<NSData *>*)imageList CompletionHandler:(void (^)(id responseObj,NSError *error))completionHandler;


@end

NS_ASSUME_NONNULL_END
